package be.kdg.bombermanunlimited.server.objects.interfaces;

import java.rmi.RemoteException;
import java.util.Vector;

import be.kdg.bombermanunlimited.server.remote.interfaces.ITile;

public interface IMap extends IGameObject {
	public Vector<ITile> getTiles() throws RemoteException;

	public void setSize(int size) throws RemoteException;

	public int getSize() throws RemoteException;

	public String toString();

	public String printTilesToText() throws RemoteException;

	public ITile getTile(int i) throws RemoteException;

	public boolean isWalkable(int row, int column) throws RemoteException;

	public boolean isBlowable(int row, int column) throws RemoteException;

	public int toIndex(int row, int column) throws RemoteException;

	public int toRow(int index) throws RemoteException;

	public int toColumn(int index) throws RemoteException;

	public void changeTile(int index) throws RemoteException;

	public int getSpawn(int number) throws RemoteException; // number is tussen
															// 0 en 3, voor de 3
															// hoeken. geef
															// index van tile
															// vector terug
}
